package com.pkk.cloud.support.admin.dto.resp.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 系统用户详情响应类
 * @author: peikunkun
 * @create: 2020-03-06 17:24
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class  OauthSysUserDetailRespDto implements Serializable {

  private static final long serialVersionUID = -8140355411332191802L;

  private Long id;

  /**
   * 用户账号
   */
  private String uname;

  /**
   * 昵称
   */
  private String nickname;

  /**
   * 邮箱
   */
  private String email;

  /**
   * 头像地址
   */
  private String headImage;

  /**
   * 是否启用1:启用,0删除
   */
  private Boolean isEnable;

  /**
   * 拥有的角色的集合
   */
  private List<Long> roles;

}
